.avatar {
  @include size(120px);
  display: block;
  background-size: cover;
  border-radius: 50%;

  &--small {
    @include size(32px);
  }

  &--xsmall {
    @include size(16px);
  }

  &.has-white-background {
    background: $core-fleet-white;
    border-radius: 100%;
  }

  img {
    &.default {
      display: none;
    }
  }
}
